package org.example.comment.feign;


import org.example.entity.UserAddresses;
import org.example.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "LogisticService",path = "/logistic")
public interface LogisticFeign {

    @GetMapping("/getAddresses")
    public Result<List<UserAddresses>> getUserAddresses(@RequestParam Long userId);
}
